/**
 * 自定义样式 - 专业商业风格
 */

:root {
  --vp-c-brand-1: #0ea5e9;
  --vp-c-brand-2: #06b6d4;
  --vp-c-brand-3: #0284c7;
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

/* Hero 组件样式 - 大气商业风格 */
.hero-section {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, var(--vp-c-bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vp-c-text-1);
  margin-bottom: 0.75rem;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap:  0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
  background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
}

.hero-btn-secondary {
  background: white;
  color: #0ea5e9;
  border: 2px solid #e0f2fe;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
}

.hero-btn-secondary:hover {
  transform: translateY(-3px);
  border-color: #0ea5e9;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

/* Features 组件样式 - 专业卡片设计 */
.features-section {
  padding: 3rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--vp-c-bg-soft);
  border-radius: 16px;
  border: 1px solid var(--vp-c-divider);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  display: block;
}

.feature-card:link,
.feature-card:visited,
.feature-card:hover,
.feature-card:active {
  text-decoration: none !important;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover .feature-title {
  color: var(--vp-c-brand-1);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--vp-c-text-1);
}

.feature-desc {
  color: var(--vp-c-text-2);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Download 组件样式 */
.download-section {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.download-card {
  padding: 2rem;
  background: var(--vp-c-bg-soft);
  border-radius: 12px;
  border: 2px solid var(--vp-c-divider);
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.download-card.recommended {
  border-color: var(--vp-c-brand-1);
  box-shadow: 0 4px 16px rgba(66, 184, 131, 0.2);
}

.download-card:hover {
  transform: translateY(-4px);
}

.download-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.download-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.download-desc {
  color: var(--vp-c-text-2);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.download-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  margin-top: auto;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
}

.download-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--vp-c-text-3);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

